package com.atguigu.lease.admin.service;

import com.atguigu.lease.model.bean.ApartmentInfo;
import com.atguigu.lease.model.vo.ApartmentDetailVo;
import com.atguigu.lease.model.vo.ApartmentItemVo;
import com.atguigu.lease.model.vo.ApartmentQueryVo;
import com.atguigu.lease.model.vo.ApartmentSubmitVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author LOGIN
* @description 针对表【apartment_info(公寓信息表)】的数据库操作Service
* @createDate 2025-06-21 01:15:32
*/
public interface ApartmentInfoService extends IService<ApartmentInfo> {

    void saveOrUpdateApartmentSubmitVo(ApartmentSubmitVo apartmentSubmitVo);

    Page<ApartmentItemVo> getPageItem(Long current, Long size, ApartmentQueryVo queryVo);

    ApartmentDetailVo getDetailById(Long id);

    void deleteApartmentById(Long id);
}
